package com.tas.editor.renderers
{
	import com.tas.editor.Constants;
	
	import mx.controls.DataGrid;
	import mx.controls.Label;
	import mx.controls.listClasses.BaseListData;

	public class FrameNumberRenderer extends Label
	{				
		override public function set listData( value:BaseListData ) : void
		{						
			this.text = Constants.formatNumber( value.rowIndex +  DataGrid(value.owner).verticalScrollPosition + 1 );
		}
		
	}
}